function a(obj) {
    // obj={}
    obj.a ="aa";
}

let c = {
    say:()=>console.log(this),
    work:function () {
        console.log(this);
    }
}

function outer(){
    let a = "aaa";
    // return {
    //     b = a
    // };
    return function () {
        let b = a;
    }
}


describe('test', () => {
    
    it('test1', () => {
        let b = {}
        a(b);
        console.log(b);
    });

    it('test2', () => {
        c.say();
    });

    it('test3', () => {
        c.work();
    });

    it('test4', () => {
        function aa(){
            console.log(this.age);
        }
        let ac = {age:11};
        // ac::aa();
        aa.apply(ac);
    });
});